package cycling.taxi.com;

import android.app.Application;

import com.baidu.mapapi.SDKInitializer;

import cn.jpush.android.api.JPushInterface;
import cycling.taxi.com.utils.SPUtil;
import cycling.taxi.com.utils.ToastUtil;
import cycling.taxi.com.utils.UiUtil;

/**
 * Created by Administrator on 2017/4/21.
 */
public class QXTVAppliction extends Application{
    @Override
    public void onCreate() {
        super.onCreate();
        UiUtil.init(this);
        SDKInitializer.initialize(UiUtil.getContext());
        ToastUtil.init(getApplicationContext());
        SPUtil.initContext(getApplicationContext());

        //极光初始化
        JPushInterface.setDebugMode(true);
        JPushInterface.init(this);
    }
}
